package me.samlss.lighter_demo;

import me.samlss.lighter_demo.slice.FragmentAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.ability.fraction.FractionAbility;
import ohos.aafwk.content.Intent;
import ohos.agp.utils.Color;
import ohos.agp.window.service.WindowManager;
/**
 * @author: zhu_zhonglin
 * @time: 2021/4/25
 */
public class FragmentAbility extends FractionAbility {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(FragmentAbilitySlice.class.getName());
        WindowManager.getInstance().getTopWindow().get().setStatusBarColor(Color.getIntColor("#008577"));
    }
}
